package com.ruoyi.project.curricula.service;

import com.ruoyi.project.curricula.domain.STCurriCula;

import java.util.List;

public interface STCurriCulaService {

    /**
     * 选课查询列表
     *
     * @param curricula 选课查询
     * @return
     */
    public List<STCurriCula> selectSTCurriculaList(STCurriCula curricula);

    /**
     * 选课查询列表(查询相对应的身份的课程  即专科只能查看专科课程)
     *
     * @param curricula 选课查询
     * @return
     */
    public List<STCurriCula> selectSTCurriculaList2(STCurriCula curricula);

//    public int updateCurriCula(Long id );


    public int insertCul(Long id, Long userId);


    public  int result(Long id);

    public int  classStates(Long userId,Long id);

    public  int cleanCurriCula(Long id);

    /**
     * 选课
     * @param id
     * @return
     */
    public int  xuanCurriCula(Long id ,Long userId);
}
